const getSettingsMenuList = () => {
	return [

		{
			key: 'notice',
			index: 0,
			label: "消息通知",
			value: "0",
			url: '',
			icon: 'img/ic_setting_notice.png',
			type: 'switch'
		},
		{
			key: 'address',
			index: 6,
			label: "地址管理",
			value: "",
			url: 'page/address/list',
			icon: 'img/ic_address.png',
		},
		{
			key: 'lang',
			index: 1,
			label: "切换语言",
			value: "",
			url: '',
			icon: 'img/ic_setting_switch_lang.png'
		},
		{
			key: 'privacy',
			index: 2,
			label: "隐私协议",
			value: "",
			url: 'page/settings/privacy_policy',
			icon: 'img/ic_setting_privacy.png'
		},
		{
			key: 'service_terms',
			index: 3,
			label: "服务条款",
			value: "",
			url: 'page/settings/service_terms',
			icon: 'img/ic_setting_service_item.png'
		},
		{
			key: 'cache',
			index: 4,
			label: "清除缓存",
			value: "",
			url: '',
			icon: 'img/ic_setting_cache.png'
		},
		{
			key: 'about',
			index: 5,
			label: "关于我们",
			value: "",
			url: 'page/settings/about',
			icon: 'img/ic_setting_about.png'
		}
	]
}

const getLangList = () => {
	return [{
			code: 'zh',
			name: '简体中文',
			flag: 'https://flagcdn.com/w20/cn.png'
		},
		{
			code: 'en',
			name: 'English',
			flag: 'https://flagcdn.com/w20/gb.png'
		},
		{
			code: 'ja',
			name: '日本語',
			flag: 'https://flagcdn.com/w20/jp.png'
		},
		{
			code: 'ko',
			name: '한국어',
			flag: 'https://flagcdn.com/w20/kr.png'
		},
		{
			code: 'fr',
			name: 'Français',
			flag: 'https://flagcdn.com/w20/fr.png'
		},
		{
			code: 'es',
			name: 'Español',
			flag: 'https://flagcdn.com/w20/es.png'
		}
	]
}
